package io.renren.entity;

import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

public class RecorderInfoPO {
    private String id_;
    private String sid;        // 服务请求编码
    private String userid;    // 用户编号/手机号
    private String userName;    //用户姓名
    private String resType;    // 传输数据类型json
    private String encode;    // 传输数据格式utf-8
    private String imei;        // imei编号
    private String reportNumber;// 行车记录仪编号
    private String type;        // 上报类型
    private String lon;        // 经度
    private String lat;        // 纬度
    private Date time;        // 上报时间
    private String audioSize;// 音频大小
    private String videoSize;// 视频大小
    private String upload_photo;    // 上传图片
    private String upload_audio;    // 上传音频
    private String upload_video;    // 上传视频
    private String address;        //上传地址
    private String street;        //上传地址街道名称
    private String alarm_desc;    //上报描述

    private String illegalPhoto1;
    private String illegalPhoto2;
    private String illegalPhoto3;

    /****************************************/
    private String illegalPlateType;  //号牌类型
    private String direction; //行驶方向 默认1
    private String illegalPlateArea;
    private String illegalPlateNumber; //车牌号码
    private String illegalType; //违法代码
    private String lane;

    private List<String> files;

    private String state;// 状态
    private String reportDept;//上报部门
    private String eventLevel;// 严重等级

    public String getId_() {
        return id_;
    }

    public void setId_(String id_) {
        this.id_ = id_;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getEncode() {
        return encode;
    }

    public void setEncode(String encode) {
        this.encode = encode;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getReportDept() {
        return reportDept;
    }

    public void setReportDept(String reportDept) {
        this.reportDept = reportDept;
    }

    public String getReportNumber() {
        return reportNumber;
    }

    public void setReportNumber(String reportNumber) {
        this.reportNumber = reportNumber;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getAudioSize() {
        return audioSize;
    }

    public void setAudioSize(String audioSize) {
        this.audioSize = audioSize;
    }

    public String getVideoSize() {
        return videoSize;
    }

    public void setVideoSize(String videoSize) {
        this.videoSize = videoSize;
    }

    public String getUpload_photo() {
        return upload_photo;
    }

    public void setUpload_photo(String upload_photo) {
        this.upload_photo = upload_photo;
    }

    public String getUpload_audio() {
        return upload_audio;
    }

    public void setUpload_audio(String upload_audio) {
        this.upload_audio = upload_audio;
    }

    public String getUpload_video() {
        return upload_video;
    }

    public void setUpload_video(String upload_video) {
        this.upload_video = upload_video;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getAlarm_desc() {
        return alarm_desc;
    }

    public void setAlarm_desc(String alarm_desc) {
        this.alarm_desc = alarm_desc;
    }

    public String getIllegalPhoto1() {
        return illegalPhoto1;
    }

    public void setIllegalPhoto1(String illegalPhoto1) {
        this.illegalPhoto1 = illegalPhoto1;
    }

    public String getIllegalPhoto2() {
        return illegalPhoto2;
    }

    public void setIllegalPhoto2(String illegalPhoto2) {
        this.illegalPhoto2 = illegalPhoto2;
    }

    public String getIllegalPhoto3() {
        return illegalPhoto3;
    }

    public void setIllegalPhoto3(String illegalPhoto3) {
        this.illegalPhoto3 = illegalPhoto3;
    }

    public String getIllegalPlateType() {
        return illegalPlateType;
    }

    public void setIllegalPlateType(String illegalPlateType) {
        this.illegalPlateType = illegalPlateType;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getIllegalPlateArea() {
        return illegalPlateArea;
    }

    public void setIllegalPlateArea(String illegalPlateArea) {
        this.illegalPlateArea = illegalPlateArea;
    }

    public String getIllegalPlateNumber() {
        return illegalPlateNumber;
    }

    public void setIllegalPlateNumber(String illegalPlateNumber) {
        this.illegalPlateNumber = illegalPlateNumber;
    }

    public String getIllegalType() {
        return illegalType;
    }

    public void setIllegalType(String illegalType) {
        this.illegalType = illegalType;
    }

    public String getLane() {
        return lane;
    }

    public void setLane(String lane) {
        this.lane = lane;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getEventLevel() {
        return eventLevel;
    }

    public void setEventLevel(String eventLevel) {
        this.eventLevel = eventLevel;
    }

    @Override
    public String toString() {
        return "9,,"+illegalPlateNumber+","+new Date()+","+illegalType+",,"+street+",,," +
                ","+direction+",,,,"+illegalPhoto1+","+illegalPhoto1+","+illegalPhoto1+",," +
                ",,,,,,,,," +
                ",,,,,,,," +
                ",,,,,,,," +
                ","+new Date()+",,,,,";
    }

    /*String str = "9,号牌类型,illegalPlateNumber,采集时间,违法代码,采集点编号,采集地址,采集机关,抓拍类型," +
            "设备编号,行驶方向编号,车道编号,红灯亮起时间,红灯亮起时间,证据图片 1,证据图片 2,证据图片 3,证据视频," +
            "号牌特征图片信息,车辆速度,大车限速,卡车限速,小车限速,大车执法限速,卡车执法限速,小车执法限速,最低限速," +
            "起点采集时间,起始采集点编号,起始采集地址,起点设备编号,起点方向编号,起点车道编号,终点采集时间,终点采集点编号," +
            "终止采集地址,终点设备编号,终点方向编号,终点车道编号,起点证据图片,终点证据图片,执勤民警,处罚决定书编号," +
            "发送 IP,发送时间,车牌颜色,抓拍方向,驾驶室坐标,遮阳板状态,安全带状态";*/

    public List<String> getFiles() {
        return files;
    }

    public void setFiles(List<String> files) {
        this.files = files;
    }
}
